<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top" colspan="2" rowspan="3">
    
         <?php $svrhas = UplataPeer::getSvrhas() ?>
         <div class="center_div" style="width: 240px; min-height: 300px; padding-top: 5px;">
         <table class="form_holder">
            <tr>
              <th>Svrha</th>
              <th>Datum</th>
              <th>Iznos</th>
            </tr>

            <?php foreach($uplatas as $uplata) { ?>
            <tr>
              <td><?php echo $svrhas[$uplata->getSvrha()] ?></td>
              <td><?php echo Functions::datumSr($uplata->getCreatedAt()) ?></td>
              <td><?php echo $uplata->getIznos() ?> din.</td>
            </tr>
            <?php }?>
         </table>
         </div>
       </td>
  </tr>
</table>